runtime.schedt.nmspinning (field)

15 uses

	runtime (current package)
		proc.go#L874: 	sched.nmspinning.Add(1)
		proc.go#L2680: 	if sched.nmspinning.Load()+sched.npidle.Load() == 0 && sched.nmspinning.CompareAndSwap(0, 1) { // TODO: fast atomic
		proc.go#L2732: 	if sched.nmspinning.Load() != 0 || !sched.nmspinning.CompareAndSwap(0, 1) {
		proc.go#L2747: 		if sched.nmspinning.Add(-1) < 0 {
		proc.go#L2823: 		if sched.nmspinning.Add(-1) < 0 {
		proc.go#L2994: 	if mp.spinning || 2*sched.nmspinning.Load() < gomaxprocs-sched.npidle.Load() {
		proc.go#L3123: 		if sched.nmspinning.Add(-1) < 0 {
		proc.go#L3459: 	nmspinning := sched.nmspinning.Add(-1)
		proc.go#L5482: 			sched.nmspinning.Add(1)
		proc.go#L5714: 			if runqempty(pp) && sched.nmspinning.Load()+sched.npidle.Load() > 0 && pd.syscallwhen+10*1000*1000 > now {
		proc.go#L5805: 	print("SCHED ", (now-starttime)/1e6, "ms: gomaxprocs=", gomaxprocs, " idleprocs=", sched.npidle.Load(), " threads=", mcount(), " spinningthreads=", sched.nmspinning.Load(), " needspinning=", sched.needspinning.Load(), " idlethreads=", sched.nmidle, " runqueue=", sched.runqsize)
		proc.go#L6615: 	if i >= active_spin || ncpu <= 1 || gomaxprocs <= sched.npidle.Load()+sched.nmspinning.Load()+1 {
		runtime2.go#L796: 	nmspinning   atomic.Int32  // See "Worker thread parking/unparking" comment in proc.go.